﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Bank myBank = new Bank();
            
            Console.Write("Please state your name:");
            string name = Convert.ToString(Console.ReadLine());
            int deposit = 0;
            int sum = 0;
            int choice;
            int count = 0;
            choice = Convert.ToInt32(Console.ReadLine());
            while (choice != 3)
            {
            Console.WriteLine("Please enter 1 for deposit or 2 for withdrawl");
            choice = Convert.ToInt32(Console.ReadLine());
            count++;
            }       
            if (choice == 1)
            
            {
                Console.WriteLine("Please enter the amount you wish to deposit:");
                deposit = Convert.ToInt32(Console.ReadLine());
                sum += deposit;
                Console.WriteLine("Please enter 1 for deposit or 2 for withdrawl");
                
            }
            else if  (choice == 2)
            {
                Console.WriteLine("Please enter the amount you wish to withdrawl:");
                int withdrawl = Convert.ToInt32(Console.ReadLine());
                sum -= deposit;
                Console.WriteLine("Please enter 1 for deposit or 2 for withdrawl");
                
            }
            Console.ReadKey();
           
            
            
            

        }
    }
}
